 /*   
 * Project: OSMP
 * FileName: Device.java
 * version: V1.0
 */
package com.cnpc.iot.scene.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.cnpc.framework.annotation.Header;
import com.cnpc.framework.base.entity.BaseEntity;

/**
 * Description:
 * @author: wangkaiping
 * @date: 2018年2月24日 上午11:00:57上午10:51:30
 */
@Entity
@Table(name = "tbl_device")
public class Device extends BaseEntity{

	@Header(name="所属基地")
    @Column(name="org_id")
	private String orgid;
	
	@Header(name="基地层级")
    @Column(name="level_code")
	private String levelCode;
	
	@Header(name="类型")
    @Column(name="type")
	private String type;
	
	@Header(name="x坐标")
    @Column(name="px")
	private String px;
	
	@Header(name="y坐标")
    @Column(name="py")
	private String py;
	
	@Header(name="设备ip")
    @Column(name="dev_ip")
	private String devip;
	
	@Header(name="端口地址")
    @Column(name="port")
	private String port;
	
	@Header(name="备注")
    @Column(name="remark")
	private String remark;

	/**
	 * @return the orgid
	 */
	public String getOrgid() {
		return orgid;
	}

	/**
	 * @param orgid the orgid to set
	 */
	public void setOrgid(String orgid) {
		this.orgid = orgid;
	}

	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}


	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}

	/**
	 * @param remark the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * @return the px
	 */
	public String getPx() {
		return px;
	}

	/**
	 * @param px the px to set
	 */
	public void setPx(String px) {
		this.px = px;
	}

	/**
	 * @return the py
	 */
	public String getPy() {
		return py;
	}

	/**
	 * @param py the py to set
	 */
	public void setPy(String py) {
		this.py = py;
	}

	/**
	 * @return the levelCode
	 */
	public String getLevelCode() {
		return levelCode;
	}

	/**
	 * @param levelCode the levelCode to set
	 */
	public void setLevelCode(String levelCode) {
		this.levelCode = levelCode;
	}

	/**
	 * @return the devip
	 */
	public String getDevip() {
		return devip;
	}

	/**
	 * @param devip the devip to set
	 */
	public void setDevip(String devip) {
		this.devip = devip;
	}

	/**
	 * @return the port
	 */
	public String getPort() {
		return port;
	}

	/**
	 * @param port the port to set
	 */
	public void setPort(String port) {
		this.port = port;
	}
	
}
